<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="https://unpkg.com/vue@next"></script>
<body>
    <div id="app">
    <p>{{title}}</p>
    <div v-html="htmlSpanL"></div>
    
    登陆名<input type="text" v-model="account">
    密码<input type="password" v-model="password">

    <p>{{account}}</p>
    <p>{{password}}</p>
</div>
</body>
<script type="text/javascript">
    const app = Vue.createApp({
        data(){
            return{
                // html插值
                title:'hello world',
                htmlSpanL:'<span style="color:red;">我是span</span>',

                // model
                account:"",
                password:""
            }
        }
    })
    app.mount('#app')

</script>
</html>